package cn.sumpu.app.guoguojie.domain.Ext;

import java.io.Serializable;
import java.util.ArrayList;

import cn.sumpu.app.guoguojie.util.DateUtil;

public class Baby implements Serializable {

	private static final long serialVersionUID = -2287040604180673959L;

	private String identifier;
	private ArrayList<Baby> babyList = new ArrayList<Baby>();
	private String babyName;
	private String babyAvatar;
	private String babySex;
	private String birthday;
	private String family;
	private String imageServer;
	
	public String getBabyAvatar() {
		return babyAvatar;
	}
	public void setBabyAvatar(String babyAvatar) {
		this.babyAvatar = babyAvatar;
	}
	public String getFamily() {
		return family;
	}
	public ArrayList<Baby> getBabyList() {
		return babyList;
	}

	public void setBabyList(ArrayList<Baby> babyList) {
		this.babyList = babyList;
	}
	public void setFamily(String family) {
		this.family = family;
	}

	public String getBabyName() {
		return babyName;
	}

	public void setBabyName(String babyName) {
		this.babyName = babyName;
	}

	public String getBabySex() {
		return babySex;
	}

	public void setBabySex(String babySex) {
		this.babySex = babySex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public String getImageServer() {
		return imageServer;
	}

	public void setImageServer(String imageServer) {
		this.imageServer = imageServer;
	}
	public String getAge() {
		return DateUtil.getAge(birthday);
	}
}
